<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
    /*初始化边距*/
    padding: 0;
    margin: 0;
}
      html{
        background-color: aliceblue;
      }
      body{
        height: 500px;
        width: 400px;
        background-color: white;
        margin: auto;
       
      }
      header,a{
        height: 70px;
        width: 100%;
      }
      h1{
        display:inline-block;
        margin-left: 25px;
        margin-top: 10px;
      }
    span{
        display:inline-block;width:32px;height:32px;background:transparent url("../img/arrow.png") no-repeat 0 0;
        background-position: -32px 0;margin-left: 10px;margin-top: 10px;
    }
    span:hover{
        background-position: 0px 0;
    }
    main{
        height: 500px;
        width: 100%;
    }
    .such1{
        height: 175px;
        width: 90%;
       background-color:rgb(243, 212, 217);
       margin: auto;
    }
    .such2{
        height: 175px;
        width: 90%;
       background-color:rgb(178, 178, 238);
       margin: auto;
       margin-top: 50px;
    }
    h4{
        margin-left: 20px;
       
    }
    </style>
</head>
<body>
    <header>
       <a> <h1>逛好店</h1><span></span>
       </a>
    </header>
    <main>
        <div class="such1"><a><h4 style="display:inline-block;margin-top: 25px;">贝恩施京东自营官方</h4><h4>旗舰店</h4><button style="background-color: white;color:red ;height: 30px;width: 50px;display:inline-block;margin-top: 15px; margin-left: 20px;  border:1px solid red;border-radius: 5px;">自营</button><br><label style="display:inline-block; margin-left: 20px;margin-top: 25px;font-weight: 100;">277.9万人关注</label><img style="display: inline-block;height: 150px; margin-left: 75px;margin-top: -100px;" src="img/1.jpg"></a></div>
        <div class="such2"><a><h4 style="display:inline-block;margin-top: 25px;">贝恩施京东自营官方</h4><h4>旗舰店</h4><button style="background-color: white;color:red ;height: 30px;width: 50px;display:inline-block;margin-top: 15px; margin-left: 20px;  border:1px solid red;border-radius: 5px;">自营</button><br><label style="display:inline-block; margin-left: 20px;margin-top: 25px;font-weight: 100;">277.9万人关注</label><img style="display: inline-block;height: 150px; margin-left: 75px;margin-top: -100px;" src="img/2.jpg"></a></div>
    </main>
</body>
</html>